package com.snoweagler.service.serviceImpl;

import com.snoweagler.mapper.MenuMapper;
import com.snoweagler.pojo.Menu;
import com.snoweagler.service.MenuService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class MenuSericeImpl implements MenuService {
    @Resource
    MenuMapper menuMapper;

    @Override
    public List<Menu> selectByName(String username) {

        return menuMapper.selectByName(username);
    }
}
